
// #ifndef VUE3
import Vue from 'vue'


// main.js  uview
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)

//全局混入分享功能
import share from '@/config/share.js'
Vue.mixin(share)

 
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
// 引入请求封装，将app参数传递到配置中
require('./config/request.js')(app)

app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif